package com.lujieni.springbootlearn.service.impl;

import org.springframework.context.annotation.DependsOn;
import org.springframework.stereotype.Service;

import javax.annotation.PostConstruct;


@Service
//@DependsOn("systemService")
public class CarService {

    @PostConstruct
    public void init(){
        String s = SystemService.get("name");
        System.out.println(s);
    }

}
